package com.ecoolex.discount.sales.core.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ecoolex.discount.sales.core.mapper.MarketingProductMapper;
import com.ecoolex.discount.sales.entity.MarketingProduct;
import com.ecoolex.discount.sales.pojo.QueryMarketingProductDTO;
import com.ecoolex.framework.common.pojo.Page;

public interface MarketingProductDAO extends MarketingProductMapper {
	
	long countForH5(@Param("query") QueryMarketingProductDTO query,@Param("discountProductStatus") Integer discountProductStatus);
	
	List<MarketingProduct> queryForH5(@Param("query") QueryMarketingProductDTO query,@Param("discountProductStatus") Integer discountProductStatus, @Param("page") Page page);
}